home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_19858.txt < prev    next >
Text File  |  1990-10-02  |  6KB  |  261 lines

  1. -- card: 19858 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 9624
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,chase,blasting
  13.   if direction = "north" then
  14.     go to card id 3186
  15.     exit move
  16.   end if
  17.   if direction = "south" or direction ="rear" then
  18.     answer "Going south leaves the game.  Quit now?" with "yes"or"no"
  19.     if it is "no" then exit move
  20.     send quitGame to card id 10613
  21.     exit move
  22.   end if
  23.   pass move
  24. end move
  25.  
  26.  
  27. on closeCard
  28.   set the cursor to 4
  29.   put "" into field 3
  30. end closeCard
  31.  
  32. on take
  33.   global object,carried
  34.   -- remember to update carried if you do not pass take
  35.   pass take
  36. end take
  37.  
  38. on drop
  39.   global object,dropRoom,carried
  40.   -- remember to update carried if you do not pass drop
  41.   pass drop
  42. end drop
  43.  
  44. on use
  45.   global object,carried
  46.   -- update carried if use results in loss of object
  47.   pass use
  48. end use
  49.  
  50.  
  51.  
  52.  
  53.  
  54. -- part 16 (button)
  55. -- low flags: 80
  56. -- high flags: 2000
  57. -- rect: left=122 top=230 right=266 bottom=156
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 9301 / 9301
  60. -- text alignment: 1
  61. -- font id: 0
  62. -- text size: 12
  63. -- style flags: 0
  64. -- line height: 16
  65. -- part name: knife
  66. ----- HyperTalk script -----
  67. on mouseUp
  68.   global takeFlag,examFlag,object,cardID
  69.   put the name of the target into object
  70.   if takeFlag = true
  71.   then send take to card id cardID
  72. else put "a knife" into field 3
  73. put false into examFlag
  74. end mouseUp
  75.  
  76.  
  77.  
  78. -- part 17 (button)
  79. -- low flags: 80
  80. -- high flags: 2000
  81. -- rect: left=89 top=230 right=266 bottom=123
  82. -- title width / last selected line: 0
  83. -- icon id / first selected line: 1015 / 1015
  84. -- text alignment: 1
  85. -- font id: 0
  86. -- text size: 12
  87. -- style flags: 0
  88. -- line height: 16
  89. -- part name: nodule
  90. ----- HyperTalk script -----
  91. on mouseUp
  92.   global takeFlag,examFlag,object,cardID
  93.   put the name of the target into object
  94.   if takeFlag = true
  95.   then send take to card id cardID
  96. else put "a silicon sphere" into field 3
  97. put false into examFlag
  98. end mouseUp
  99.  
  100.  
  101.  
  102. -- part 18 (button)
  103. -- low flags: 80
  104. -- high flags: 2000
  105. -- rect: left=122 top=195 right=231 bottom=156
  106. -- title width / last selected line: 0
  107. -- icon id / first selected line: 14953 / 14953
  108. -- text alignment: 1
  109. -- font id: 0
  110. -- text size: 12
  111. -- style flags: 0
  112. -- line height: 16
  113. -- part name: ladder
  114. ----- HyperTalk script -----
  115. on mouseUp
  116.   global takeFlag,examFlag,object,cardID
  117.   put the name of the target into object
  118.   if takeFlag = true
  119.   then send take to card id cardID
  120. else put "a rope ladder" into field 3
  121. put false into examFlag
  122. end mouseUp
  123.  
  124.  
  125.  
  126. -- part 19 (button)
  127. -- low flags: 80
  128. -- high flags: 2000
  129. -- rect: left=158 top=230 right=266 bottom=192
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 1019 / 1019
  132. -- text alignment: 1
  133. -- font id: 0
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: bomb
  138. ----- HyperTalk script -----
  139. on mouseUp
  140.   global takeFlag,examFlag,object,cardID
  141.   put the name of the target into object
  142.   if takeFlag = true
  143.   then send take to card id cardID
  144. else put "a time bomb" into field 3
  145. put false into examFlag
  146. end mouseUp
  147.  
  148.  
  149.  
  150. -- part 20 (button)
  151. -- low flags: 80
  152. -- high flags: 2000
  153. -- rect: left=55 top=230 right=266 bottom=89
  154. -- title width / last selected line: 0
  155. -- icon id / first selected line: 24317 / 24317
  156. -- text alignment: 1
  157. -- font id: 0
  158. -- text size: 12
  159. -- style flags: 0
  160. -- line height: 16
  161. -- part name: key
  162. ----- HyperTalk script -----
  163. on mouseUp
  164.   global takeFlag,examFlag,object,cardID
  165.   put the name of the target into object
  166.   if takeFlag = true
  167.   then send take to card id cardID
  168. else put "a key" into field 3
  169. put false into examFlag
  170. end mouseUp
  171.  
  172.  
  173.  
  174. -- part 21 (button)
  175. -- low flags: 80
  176. -- high flags: 2000
  177. -- rect: left=196 top=230 right=266 bottom=230
  178. -- title width / last selected line: 0
  179. -- icon id / first selected line: 7012 / 7012
  180. -- text alignment: 1
  181. -- font id: 0
  182. -- text size: 12
  183. -- style flags: 0
  184. -- line height: 16
  185. -- part name: gem
  186. ----- HyperTalk script -----
  187. on mouseUp
  188.   global takeFlag,examFlag,object,cardID
  189.   put the name of the target into object
  190.   if takeFlag = true
  191.   then send take to card id cardID
  192. else put "a glowing gem" into field 3
  193. put false into examFlag
  194. end mouseUp
  195.  
  196.  
  197.  
  198. -- part 22 (button)
  199. -- low flags: 80
  200. -- high flags: 2000
  201. -- rect: left=21 top=230 right=266 bottom=55
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 23078 / 23078
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: orb
  210. ----- HyperTalk script -----
  211. on mouseUp
  212.   global takeFlag,examFlag,object,cardID
  213.   put the name of the target into object
  214.   if takeFlag = true
  215.   then send take to card id cardID
  216. else put "a crystal orb" into field 3
  217. put false into examFlag
  218. end mouseUp
  219.  
  220.  
  221.  
  222. -- part 33 (button)
  223. -- low flags: 00
  224. -- high flags: 0000
  225. -- rect: left=100 top=64 right=124 bottom=152
  226. -- title width / last selected line: 0
  227. -- icon id / first selected line: 0 / 0
  228. -- text alignment: 1
  229. -- font id: 0
  230. -- text size: 12
  231. -- style flags: 0
  232. -- line height: 16
  233. -- part name: 
  234. ----- HyperTalk script -----
  235. on mouseUp
  236.   global examFlag,direction,cardID
  237.   if examFlag then
  238.     put "a tunnel leading north" into field 3
  239.     put false into examFlag
  240.   else
  241.     put "north" into direction
  242.     send move to card id cardID
  243.   end if
  244. end mouseUp
  245.  
  246.  
  247.  
  248. -- part contents for background part 25
  249. ----- text -----
  250. Entrance Tunnel
  251. (looking north)
  252.  
  253. -- part contents for background part 24
  254. ----- text -----
  255. You are in a tunnel running north and south.  To the south you see daylight filtering in through the vegetation that almost totally obstructs the opening through which you entered the cave.
  256.  
  257.  
  258.  
  259. -- part contents for background part 36
  260. ----- text -----
  261. 0